package cn.wolfcode.plus.domain;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

/**
 * Author wyy
 * Date 2021/2/8 17:16
 **/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Department {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String sn;
    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
